<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>

<body>
    <script>
        let genorals = [
            { name: "关羽", age: 45, weapon: "青龙偃月刀" },
            { name: "张飞", age: 40, weapon: "丈八蛇矛" },
            { name: "赵云", age: 35, weapon: "不详" },
            { name: "马超", age: 30, weapon: "不详" },
            { name: "黄忠", age: 80, weapon: "不详" },
        ]
        let ret=genorals.every((item,idx)=>item.age>30);
        console.log(ret);
        
    </script>

</body>

</html>